package com.lsw.jgyf.inject.components;

import android.app.Activity;
import android.content.Context;


import com.lsw.jgyf.inject.modules.FragmentModule;
import com.lsw.jgyf.inject.scope.PerActivity;
import com.lsw.jgyf.inject.scope.PerFragment;
import com.lsw.jgyf.ui.fragment.HomeFragment1;
import com.lsw.jgyf.ui.fragment.HomeFragment2;
import com.lsw.jgyf.ui.fragment.HomeFragment3;
import com.lsw.jgyf.ui.fragment.HomeFragment4;
import com.lsw.jgyf.ui.fragment.MyOrderFragment1;
import com.lsw.jgyf.ui.fragment.MyOrderFragment2;
import com.lsw.jgyf.ui.fragment.MyOrderFragment3;
import com.lsw.jgyf.ui.fragment.MyOrderFragment4;
import com.lsw.jgyf.ui.fragment.RegisterDianyuanFragment;
import com.lsw.jgyf.ui.fragment.RegisterDianzhangFragment;

import dagger.Component;

/**
 * author：lsw
 */
@PerActivity
@PerFragment
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    Context getContext();

    void inject(HomeFragment1 homeFragment1);

    void inject(HomeFragment2 homeFragment2);

    void inject(HomeFragment3 homeFragment3);

//    void inject(HomeFragment4 homeFragment4);

    void inject(RegisterDianyuanFragment registerDianyuanFragment);

    void inject(RegisterDianzhangFragment registerDianzhangFragment);

    void inject(MyOrderFragment1 myOrderFragment1);

    void inject(MyOrderFragment2 myOrderFragment2);

    void inject(MyOrderFragment3 myOrderFragment3);

    void inject(MyOrderFragment4 myOrderFragment4);

    void inject(HomeFragment4 homeFragment4);
}
